[paket]
tanim   = QEMU sanal makine uygulaması
paketci = milisarge
grup    = sistem
url     = https://www.qemu.org

[gerek]
derleme = python libpng libjpeg-turbo snappy libx11 alsa-lib libaio gnutls glib xfsprogs libiscsi libcap-ng vde2 usbredir bluez libssh2 libusb pulseaudio libnfs sdl2 gtk3 vte3 spice virglrenderer libepoxy libdrm mesa libcacard numactl
calisma =

[kaynak]
bz2     = https://wiki.qemu.org/download

[sha256]
1       = 87bc1a471ca24b97e7005711066007d443423d19aacda3d442558ae032fa30b9

[derle]
betik   = sed -i 's/__u64/unsigned long/' linux-user/host/aarch64/hostdep.h
betik   = sed -e 's,-rpath /usr/local/lib,,g' -i configure
betik   = export ARFLAGS=rv;export CFLAGS+=" -fPIC"
ekconf  = --libexecdir=/usr/lib/qemu --smbd=/usr/bin/smbd --python=/usr/bin/python3 --enable-modules --enable-kvm --audio-drv-list=alsa,pa,sdl --disable-xen --enable-tpm --enable-vhost-net --enable-vnc-png --enable-virtfs --enable-libusb --disable-glusterfs --enable-snappy --enable-usb-redir --enable-pie --localstatedir=/var --datadir=/usr/lib --disable-docs --enable-virglrenderer --enable-opengl --enable-spice --enable-sdl --enable-smartcard --enable-gtk --enable-bluez
betik   = export confopt=`echo $CONF_OPT | sed 's/--disable-static//'`
tip     = gnu 

[pakur]
strip   = yok
tip     = gnu
betik   = rm -rf $PKG/var
betik   = chmod u+s $PKG/usr/lib/qemu/qemu-bridge-helper
